diff --git a/contrib/export-attachments/export-attachments.php b/contrib/export-attachments/export-attachments.php old mode 100644 new mode 100755 index 74b2fbdb..0d67144e --- a/contrib/export-attachments/export-attachments.php +++ b/contrib/export-attachments/export-attachments.php @@ -1,6 +1,7 @@ +#!/usr/bin/php get_mapped_domains(); $last_id = $attachment->get_last_attachment_id(); $start_id = $attachment->get_checkpoint(); -syslog(LOG_INFO, "start: $start, limit: $limit"); +syslog(LOG_INFO, "start: $start_id, limit: $last_id"); for($i=$start_id; $i<$last_id; $i++) {